package com.hyt.it.ogt.ks.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 干扰项和二次选项对应关系
 * </p>
 *
 * @author liuhh
 * @since 2020-07-02
 */
@Data
@TableName("ks_force_item")
@ApiModel(value = "干扰项和二次选项对应关系", description = "干扰项和二次选项对应关系")
public class ForceItem {
    @TableId(value = "id", type = IdType.INPUT)
    private String id;

    @ApiModelProperty(value = "考试id")
    private String examId;

    @ApiModelProperty(value = "考生Id")
    private String candidateId;

    @ApiModelProperty(value = "题库试卷ID")
    private String paperId;

    @ApiModelProperty(value = "题库试卷版本号")
    private String paperVersion;

    @ApiModelProperty(value = "父小题编码")
    private String parentItemId;

    @ApiModelProperty(value = "大题编码")
    @TableField(exist = false)
    private String topicId;

    @ApiModelProperty(value = "小题编码")
    private String itemId;

    @ApiModelProperty(value = "干扰项")
    private String disturbOption;

    @ApiModelProperty(value = "可编辑的选项")
    private String secondEditOption;

    @ApiModelProperty(value = "不可编辑的选项")
    private String secondViewOption;

}
